home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 684 / 684.xpi / chrome / fireftp.jar / content / diff.xul < prev    next >
Extensible Markup Language  |  2008-01-12  |  4KB  |  86 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css"   type="text/css"?>
  4. <?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/diff.dtd">
  7. <dialog id             = "diff3"
  8.         title          = "&title;"
  9.         width          = "500"
  10.         height         = "500"
  11.         persist        = "screenX screenY"
  12.         xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         buttons        = "accept, cancel"
  14.         onload         = "init()"
  15.         ondialogaccept = "return parseList();">
  16.  
  17.   <stringbundle id="strings" src="chrome://fireftp/locale/strings.properties"/>
  18.  
  19.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
  20.   <script type="application/x-javascript" src="chrome://fireftp/content/js/dialogs/diff.js"/>
  21.  
  22.   <tree id="diffTree" flex="1" class="plain" hidecolumnpicker="true"
  23.         onselect="if (this.view.selection.count) this.view.selection.clearSelection()">
  24.     <treecols>
  25.       <treecol id="file"      label="&file.label;"     flex="5" persist="width ordinal hidden sortDirection" />
  26.       <splitter                class="tree-splitter"/>
  27.       <treecol id="reason"    label="&reason.label;"   flex="5" persist="width ordinal hidden sortDirection" />
  28.       <splitter                class="tree-splitter"/>
  29.       <treecol id="download"  label="&download.label;" flex="1" persist="width ordinal hidden sortDirection" type="checkbox"/>
  30.       <splitter                class="tree-splitter"/>
  31.       <treecol id="upload"    label="&upload.label;"   flex="1" persist="width ordinal hidden sortDirection" type="checkbox"/>
  32.       <splitter                class="tree-splitter"/>
  33.       <treecol id="nothing"   label="¬hing.label;"  flex="1" persist="width ordinal hidden sortDirection" type="checkbox"/>
  34.     </treecols>
  35.  
  36.     <treechildren id="main" class="fileTree" onmousedown="mouseDown(event)"/>
  37.   </tree>
  38.  
  39.   <groupbox align="right">
  40.     <caption label="&defaults.label;"/>
  41.     <grid>
  42.       <columns>
  43.         <column/>
  44.         <column/>
  45.         <column/>
  46.         <column/>
  47.       </columns>
  48.       <rows id="main">
  49.         <row align="center" id="localRow">
  50.           <label  value="&local.label;"/>
  51.           <button label="&download.label;" accesskey="&lDownload.access;" oncommand="setDefault(0, 'local',   'download')"/>
  52.           <spacer />
  53.           <button label="¬hing.label;"  accesskey="&lNothing.access;"  oncommand="setDefault(0, 'local',   'nothing')"/>
  54.         </row>
  55.         <row align="center" id="remoteRow">
  56.           <label  value="&remote.label;"/>
  57.           <spacer />
  58.           <button label="&upload.label;"   accesskey="&rUpload.access;"   oncommand="setDefault(1, 'remote',  'upload')"/>
  59.           <button label="¬hing.label;"  accesskey="&rNothing.access;"  oncommand="setDefault(1, 'remote',  'nothing')"/>
  60.         </row>
  61.         <row align="center" id="diffRow">
  62.           <label  value="&diff.label;"/>
  63.           <button label="&download.label;" accesskey="&dDownload.access;" oncommand="setDefault(2, 'diff',    'download')"/>
  64.           <button label="&upload.label;"   accesskey="&dUpload.access;"   oncommand="setDefault(2, 'diff',    'upload')"/>
  65.           <button label="¬hing.label;"  accesskey="&dNothing.access;"  oncommand="setDefault(2, 'diff',    'nothing')"/>
  66.         </row>
  67.         <row align="center" id="newerRow">
  68.           <label  value="&newer.label;"/>
  69.           <button label="&download.label;"                                oncommand="setDefault(3, 'newer',   'download')"/>
  70.           <button label="&upload.label;"                                  oncommand="setDefault(3, 'newer',   'upload')"/>
  71.           <button label="¬hing.label;"                                 oncommand="setDefault(3, 'newer',   'nothing')"/>
  72.         </row>
  73.         <row align="center" id="olderRow">
  74.           <label  value="&older.label;"/>
  75.           <button label="&download.label;"                                oncommand="setDefault(4, 'older',   'download')"/>
  76.           <button label="&upload.label;"                                  oncommand="setDefault(4, 'older',   'upload')"/>
  77.           <button label="¬hing.label;"                                 oncommand="setDefault(4, 'older',   'nothing')"/>
  78.         </row>
  79.       </rows>
  80.     </grid>
  81.   </groupbox>
  82.  
  83.   <description>&diff.note;</description>
  84.  
  85. </dialog>
  86.